class LoginState {
  ///电话号码
  late String telText;

  ///验证码
  late String verifyText;

  ///用户名
  late String userNameText;

  ///登录密码
  late String passwordText;

  ///判断当前是以什么方式登录的 true 短信登录 false 账号密码
  late bool loginTypeIsMessage;

  ///是否正在输入密码
  late bool isInputPassword;

  ///是否记住密码
  late bool isRemeberMe;

  ///隐藏密码
  late bool isObscure;

  ///同意用户协议
  late bool isAgreement;

  ///验证码剩余时间
  late int codeSeconds;

  ///晃动次数
  int shakeCount = 4;

  LoginState() {
    telText = "";
    verifyText = "";
    userNameText = "";
    passwordText = "";
    codeSeconds = 0;
    loginTypeIsMessage = true;
    isInputPassword = false;
    isObscure = true;
    isRemeberMe = true;
    isAgreement = false;
  }
}
